package com.example.pojo.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;


/**
 * @author crt
 */
@Data
public class CommentDto {

    @NotNull(message = "userId不能为空")
    private Integer userId;

    @NotNull(message = "trendsId不能为空")
    private Integer trendsId;

    @NotBlank(message = "评论内容不能为空")
    private String commentContent;

    //
    private Integer commentId;

//    @NotNull(message = "帖子文件不能为空")
//    private List<Integer> fileIdList;
    //祖先评论信息
    private CommentDto commentDto;

}
